﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Orange.DesignPattern
{
    public class Yabo : Product
    {
        public override string Name()
        {
            return "Yabo";
        }
    }

    public class Yajia : Product
    {
        public override string Name()
        {
            return "Yajia";
        }
    }
    public abstract class AbstractFactory
    {
        public abstract Yabo CreateYaBo();
        public abstract Yajia CreateYajia();
    }

    public class NanchangFactroy : AbstractFactory
    {
        public override Yabo CreateYaBo()
        {
            throw new NotImplementedException();
        }

        public override Yajia CreateYajia()
        {
            
            throw new NotImplementedException();
        }
    }
}
